package com.atty.dms.common.enums;

/**
 * ClassName:UserRoleCodeEnum
 * Package:com.atty.dms.common.enums
 * Description:
 *
 * @Author:tony
 * @Create :2025/4/17 14:31
 * @Version :1.0
 */

/**
 * 用户角色枚举
 */
public enum UserRoleCodeEnum {

    USER_ROLE_ADMIN(1,"管理员"),
    USER_ROLE_USER(2,"普通用户");

    private final Integer code;

    private final String message;

    UserRoleCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


    public Integer code() {
        return code;
    }


    public String message() {
        return message;
    }

}
